package org.bbl.db.domain;


import java.io.Serializable;
import java.util.List;

/**
 * @author biniamg
 * @since 1/3/13
 */
public class Bbl implements Serializable {
    private int verseId, bookId, chapterId, startVerse, endVerse, paragraph;
    private String verse;

    public int getVerseId() {
        return verseId;
    }

    public void setVerseId(int verseId) {
        this.verseId = verseId;
    }

    public int getBookId() {
        return bookId;
    }

    public void setBookId(int bookId) {
        this.bookId = bookId;
    }

    public int getChapterId() {
        return chapterId;
    }

    public void setChapterId(int chapterId) {
        this.chapterId = chapterId;
    }

    public int getStartVerse() {
        return startVerse;
    }

    public void setStartVerse(int startVerse) {
        this.startVerse = startVerse;
    }

    public int getEndVerse() {
        return endVerse;
    }

    public void setEndVerse(int endVerse) {
        this.endVerse = endVerse;
    }

    public String getVerse() {
        return verse;
    }

    public void setVerse(String verse) {
        this.verse = verse;
    }

    public int getParagraph() {
        return paragraph;
    }

    public void setParagraph(int paragraph) {
        this.paragraph = paragraph;
    }

    public String getShortNumber() {
        return " "+ chapterId + ":" + (startVerse == endVerse ? startVerse : startVerse + "-" + endVerse);
    }
}
